package com.godofball.medtrack.pojo;


import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * @TableName purchase
 */
@Data
public class Purchase implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long manufacturerId;

    @TableField(fill = FieldFill.INSERT)
    private Long createUser;


    private Integer totalCount;

    private BigDecimal totalPrice;
    /**
     * 进货单状态
     */
    private Integer status;
    /**
     * 进货单生成时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
    /**
     * 备注信息
     */
    private String remark;
}
